package com.linked.basemanage.feign;

import com.linked.basemanage.feign.impl.UserManageFeignFallBack;
import com.linked.universal.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author :dbq
 * @date : 2023/1/16 13:28
 * @description : desc
 */
@FeignClient(value = "Linked-UserManage", fallback = UserManageFeignFallBack.class)
public interface IUserManageFeign {
    @PostMapping(value = "/usermanage/userstatistics/queryUserRelatedTotal")
    Result queryUserRelatedTotal() throws Exception;

    @PostMapping(value = "/usermanage/userstatistics/queryNewUserCountYear")
    Result queryNewUserCountYear(String year) throws Exception;

    @PostMapping(value = "/usermanage/userstatistics/queryUserLoginCountYear")
    Result queryUserLoginCountYear(String year) throws Exception;
}
